/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bill.model.vo;

import util.Config;
import util.ConstantValues;

/**
 *
 * @author Administrator
 */
public class Person {
    
    private String id;
    
    private String name;
    
    private String pwd;
    
    private Dept dept = new Dept();

    public Person(){ }

    public void init(){
        dept.setId(ConstantValues.DEPT_CODE);
        dept.setName(ConstantValues.DEPT_Name);
    }


    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the pwd
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * @param pwd the pwd to set
     */
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * @return the dept
     */
    public Dept getDept() {
        return dept;
    }

    /**
     * @param dept the dept to set
     */
    public void setDept(Dept dept) {
        this.dept = dept;
    }    
    

}
